<template>
	<view class="pages">
		<view class="content">
			<view class="contentLeft" @click="top">
				<!-- <image src="../../static/zuojiantou1.png" mode="" style="width: 100%;height: 100%;"></image> -->
			</view>
			<view class="contentContent">
				<u-swiper :list="lunBunDate" keyName="image" :current="current" :indicator="true" indicatorMode="dot" height="100%" radius="10rpx" style="width: 100%;"></u-swiper>
			</view>
			<view class="contentRight">
				<!-- <image src="../../static/youjiantou1.png" mode="" style="width: 100%;height: 100%;"> </image> -->
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				newUrl:0,//0为新接口1为老接口
				lunBunDate:[],
				current:0
			}
		},
		created() {
			this.getLunBao()
		},
		methods: {
			top() {
				this.current = 0
			},
			// 获取启动页
			getLunBao() {
				uni.showLoading({
					title: this.$t('Laoding'),
				})
				this.$get('/biz/app/carouselImageList',{
					type:3
				},this.newUrl).then(res => {
					this.lunBunDate = res.data.data.map(items => {
						return {
							image:items.image,
						}
					})
				})
			}
		}
	}
</script>

<style>
	.pages {
		width: 100%;
		height: 100vh;
		overflow-y: auto;
		background-color: #F0F0F0;
	}

	.content {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		height: 1200rpx;
		margin-top: 88rpx;
	}

	.contentContent {
		width: 648rpx;
		height: 100%;
		background-color: aquamarine;
	}

	.contentLeft,
	.contentRight {
		width: 50rpx;
		height: 50rpx;
		margin-bottom: 106rpx;
	}

	.contentContentTop {
		position: relative;
		width: 100%;
		height: 50%;
		/* background-color: chartreuse; */
		background: #2735625E;

	}

	.contentContentButtom {
		width: 100%;
		height: 50%;
		background-color: #fff;
		padding: 32rpx;
		box-sizing: border-box;
	}

	.contentTips {
		width: 100%;
		height: 300rpx;
		font-family: Montserrat;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 56rpx;
		letter-spacing: 0.20000000298023224px;
		text-align: left;
	}

	.contentContentTopTips {
		position: absolute;
		left: 0rpx;
		bottom: 20rpx;
		height: 64rpx;
		font-family: Montserrat;
		font-size: 48rpx;
		font-weight: 700;
		line-height: 64rpx;
		letter-spacing: 0.20000000298023224px;
		text-align: center;
		color: #fff;
		padding: 0 20rpx;
		box-sizing: border-box;
	}

	.items {
		display: flex;
		align-items: center;
		width: 100%;
		margin-top: 10rpx;
	}

	.items span {
		font-family: Montserrat;
		font-size: 28rpx;
		font-weight: 700;
		line-height: 28rpx;
		letter-spacing: 0.20000000298023224px;
		text-align: left;
		margin-left: 5rpx;

	}
</style>